//Zoolander movement library header
//Author: Max Macri
#ifndef Movement_h
#define Movement_h
 
#include "Arduino.h"
 
class Movement
 {
   public:
     Movement(int LF, int LR, int RF, int RR, int LE, int RE);
     void setMove(int hVal, int rVal);
     void setMControl();
     static const int ACCEL = 10;
     static const int deadzone = 5;
   private:
     int LFWD,LREV,RFWD,RREV,LM_EN,RM_EN;
     boolean rotating;
     boolean LM_FWD,LM_REV,RM_FWD,RM_REV;
     double ldrop,rdrop;
     int dutySpeed;
     int LSpeed, RSpeed,LOld,ROld,temp;
 };
 
#endif